<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
    String path = request.getContextPath();
    %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>

<style type="text/css">
		.dropdown {
		  position: relative;
		  display: inline-block;
		}
		
		.dropdown-content {
		  display: none;
		  position: absolute;
		  background-color: #f9f9f9;
		  min-width: 100px;
		  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
		  padding: 5px 5px;
		  z-index: 1;
		}
		
		.dropdown:hover .dropdown-content {
		  display: block;
		}
		
		li{
		list-style: none;
		}
		
		.fe{
			float:right;
			margin-right:100px;
			font-size: 15px;
			color:red;
		}
		
		
.sfe{
	margin-left:100px;
	margin-top:-40px;
	font-size:20px;
}
.tem_head nav{
margin-right: 160px;

}

		</style>

<body>
 <%
        	String name = (String)session.getAttribute("name");
        	if(name==null){
        %>
        <li ><a class="fe" href="<%=path %>/html/Login.jsp" title="用户登录">亲,请登陆</a></li>
        <%
        	}else{
        %>
        <div class="dropdown fe">
		  <span>欢迎<%=name %>登陆</span>
		  <div class="dropdown-content">
		    <a href="<%=path%>/IndexServlet?flag=_TuiChu">退出</a>
		  </div>
		</div>
        <%
        	}
        %>
        
        

<!--头部开始-->
<header data-waypointsok="" class="header mysection">
  <div class="tem_inner tem_head mynav mysection_s" style="width:80%;">
    <h1 style="margin-right:20px;"> <a class="logo_img" href="" title=""> <img style="border-radius: 50%;width:80px;height:80px" src="<%=path %>/image/342.png" alt="" title="" /> </a> </h1>
    <div class="sfe"><a >高鑫科技</a></div>
    <nav>
      <ul>
        <li><a href="<%=path %>/html/index.jsp" title="网站首页">网站首页</a></li>
        <li><a href="<%=path %>/IndexServlet?flag=_zhiwei" title="职位招聘">职位招聘</a></li>
        <li><a href="<%=path %>/html/wenhua.jsp" title="企业文化">企业文化</a></li>
        <li><a href="<%=path %>/IndexServlet?flag=_xinwen" title="新闻中心">新闻中心</a></li>
        <li><a href="<%=path %>/html/productlist.jsp" title="产品中心">产品中心</a></li>
        <li><a href="<%=path %>/html/gbook.jsp" title="在线留言">在线留言</a></li>
        <li><a href="<%=path %>/jsp/admin/adminLogin.jsp" title="后台管理">后台管理</a></li>
        
       
      </ul>
    </nav>
  </div>
</header>
<!--头部结束-->
</body>
</html>